Police offer apologies, High Court dismisses case against them for posing with accused